package com.treasure.service.enums;

public enum CodeEnum {
	SUCCESS("200","成功"),
	FAIL("201","失败"),

	NOLOGIN("301","请登录"),


    SMSFAIL("410","短信发送失败"),
	OFTEN("411","短信发送过于频繁，请稍后再试！"),
	PAST_DUE("412","验证码已过期，请重新发送！"),
	CODE_ERROR("413","您输入的验证码有误，请重新输入！"),

	IDENTITY_REPETITION("501","身份信息已绑定其他账号！"),
	PHONENUMBER_REPETITION("502","手机号已使用！"),

	CREDITCARD_FAIL("601","申请信用卡失败！"),
	;
	private String code;
	private String desc;

	private CodeEnum(String code, String desc) {
		this.code = code;
		this.desc = desc;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
}
